package com.eco.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.bean.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    @Select("select * from users where phone=#{phone}")
    Users selectByphone(@Param("phone") String phone);
}
